@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}
.el-dialog__body {
  padding: 30px 50px !important;
}
html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.common {
  &-jus-end {
    display: flex;
    justify-content: flex-end;
  }
  &-items-end {
    display: flex;
    align-items: flex-end;
  }
  &-start {
    display: flex;
    justify-content: flex-start;
  }
  &-start {
    display: flex;
    align-items: flex-start;
  }
  &-flex-1 {
    flex: 1;
  }
  &-column {
    display: flex;
    flex-direction: column;
  }
  &-jus-bet {
    display: flex;
    justify-content: space-between;
  }
  &-table-container {
    // padding: 30px;
  }
  &-btn-box {
    margin-top: 20px;
  }
  &-table-head {
    background: #f5f5f5;
    padding: 15px;
  }
  &-page-block {
    display: flex;
    justify-content: center;
    margin-top: 50px;
  }
  @mixin btn() {
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
    color: #fff;
    cursor: pointer;
  }
  &-disabled {
    background: #aaa;
    @include btn;
  }
  &-enable {
    background: #409eff;
    @include btn;
  }
  &-editor {
    background: #0cb2d8;
    @include btn;
  }
  &-del {
    background: #f56c6c;
    @include btn;
  }
}
